
using Core.Toolkit.Core.Entitys;
using System;
using System.ComponentModel.DataAnnotations.Schema;

namespace Core.SimpleTemp.Entitys
{

    public class FX_Equipment : Entity
    {
        /// <summary>
        /// 风险类别ID
        /// </summary>
        public Guid? FXTypeID { get; set; }
        /// <summary>
        /// 设备
        /// </summary>
        public String Device { get; set; }
        /// <summary>
        /// 功能部分
        /// </summary>
        public String FunctionalPart { get; set; }
        /// <summary>
        /// 子功能部分
        /// </summary>
        public String Sub_functionPart { get; set; }
        /// <summary>
        /// 部件
        /// </summary>
        public String B_ComponentName { get; set; }
        /// <summary>
        /// 预期功能
        /// </summary>
        public String ExpectedFunction { get; set; }
        /// <summary>
        /// 故障
        /// </summary>
        public String Malfunction { get; set; }
        /// <summary>
        /// 风险级别ID
        /// </summary>
        public Guid? RiskLevel { get; set; }
        /// <summary>
        /// 风险
        /// </summary>
        public String Risk { get; set; }
        /// <summary>
        /// 危害因素
        /// </summary>
        public String HazardousFactor { get; set; }
        /// <summary>
        /// 控制要求
        /// </summary>
        public String ControlRequirement { get; set; }
        /// <summary>
        /// 是否参与风险分布
        /// </summary>
        public String IsRiskDistribute { get; set; }
        /// <summary>
        /// 隶属工厂
        /// </summary>
        public Guid? CreateFactory { get; set; }
        /// <summary>
        /// 添加部门
        /// </summary>
        public Guid? CreateDept { get; set; }
        /// <summary>
        /// 更改部门
        /// </summary>
        public Guid? UpdateDept { get; set; }



        public String Mark01 { get; set; }
        public String Mark02 { get; set; }
        public String Mark03 { get; set; }

        /// <summary>
        /// 区域ID
        /// </summary>
        public Guid? AreaID { get; set; }

        /// <summary>
        /// 排序
        /// </summary>
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int Sort { get; set; }


        #region 关联

        public SysArea SysArea { get; set; }

        #endregion

    }
}
